]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shell-recorder: Restore cursor recording
authorIllya Klymov <xanf@xanf.me>
Mon, 8 Jul 2019 03:29:36 +0000 (03:29 +0000)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 8 Jul 2019 21:08:51 +0000 (21:08 +0000)
Due to changes introduced in 5357e0a1 cursor recording interaction with
magnifier was reversed. This fix restores original correct behavior
Related issue: https://gitlab.gnome.org/GNOME/gnome-shell/issues/1208

src/shell-recorder.c

index 0203ecf1c9a9cded8d37d1ccadba4befe679ef92..cf1cc336f4b4a254586c776ff0e6c3de14bfdd49 100644 (file)
@@ -465,7 +465,7 @@ recorder_record_frame (ShellRecorder *recorder,
 
       g_object_get (settings, "magnifier-active", &magnifier_active, NULL);
 
-      if (magnifier_active)
+      if (!magnifier_active)
         recorder_draw_cursor (recorder, buffer);
     }